package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import io.lettuce.core.RedisClient;
import io.lettuce.core.api.StatefulRedisConnection;


/**
 * @author 深蓝色的橘子
 * @create 2023-04-22 10:27
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan//扫描到过滤器
@EnableTransactionManagement
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("项目启动成功！");
    }
}
